package com.lmc.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Members implements Serializable{

    /**
     * code : 200
     * msg : 查询成功
     * data : [{"device_id":"d86de26f937e76b5bf4e2221d49ebb85","username":"18476742323","roles":"1","record_time":1585726497186,"auth_time":1585726497186,"headportrait":null,"niname":"庄勇斌","adminstate":"1"},[],[]]
     */

    private int code;
    private String msg;
    private ArrayList<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ArrayList<DataBean> getData() {
        return data;
    }

    public void setData(ArrayList<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * device_id : d86de26f937e76b5bf4e2221d49ebb85
         * username : 18476742323
         * roles : 1
         * record_time : 1585726497186
         * auth_time : 1585726497186
         * niname : 庄勇斌
         * adminstate : 1
         */
        private String headportrait;
        private String device_id;
        private String username;
        private String roles;
        private String niname;
        private String adminstate;

        public String getHeadportrait() {
            return headportrait;
        }

        public void setHeadportrait(String headportrait) {
            this.headportrait = headportrait;
        }

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRoles() {
            return roles;
        }

        public void setRoles(String roles) {
            this.roles = roles;
        }


        public String getNiname() {
            return niname;
        }

        public void setNiname(String niname) {
            this.niname = niname;
        }

        public String getAdminstate() {
            return adminstate;
        }

        public void setAdminstate(String adminstate) {
            this.adminstate = adminstate;
        }
    }
}
